package software.agileCourse2013.KillerGame.biz.Command.JsonResultImpls;

import software.agileCourse2013.KillerGame.biz.Command.JsonResult;

import com.google.gson.Gson;

public class testJsonResult implements JsonResult{
	private String id;
	private String name;
	private String msg;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	@Override
	public String toJson(JsonResult jsonRes) {
		testJsonResult res = (testJsonResult) jsonRes;
		Gson gson = new Gson();
		return gson.toJson(res);
	}
}
